<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
    <link rel="icon" type="image/x-icon" href="">
    <title>GeoHey - 404</title>
    <style >
        html,
        body {
            width: 100%;
            height: 100%;
            margin: 0;
            padding: 0;
        }

        #app {
            width: 100%;
            height: 100%;
            font-family: Helvetica Neue For Number,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif;
        }

        .content {
            margin: 0 auto;
            height: 400px;
            margin-top: -300px;
            margin-left: -400px;
            position: absolute;
            top: 50%;
            left:  50%;
        }

        .content::after {
            content: '';
            display: block;
            clear: both;
        }

        .heydog {
            width: 400px;
            height: 400px;
            float: left;
            margin-right: 60px;
        }

        .status {
            float: left;
            margin-top: 130px;
        }

        .status h1 {
            color: #434e59;
            font-size: 72px;
            font-weight: 600;
            line-height: 72px;
            margin: 0 0 24px;
        }

        .status p {
            margin: 15px 0;
            color: rgba(0,0,0,.45);
            font-size: 20px;
            line-height: 28px;
            margin-bottom: 16px;
        }

        .status a {
            display: inline-block;
            height: 32px;
            color: #fff;
            font-size: 14px;
            line-height: 32px;
            font-weight: 500;
            background-color: #1890ff;
            border-radius: 3px;
            text-decoration: none;
            padding: 0 14px;
        }

        @media screen and (max-width: 700px) {
            .content {
                text-align: center;
                margin-left: 0;
                left: 0;
                width: 100%;
            }

            .heydog,
            .status {
                display: inline-block;
                float: none;
                margin: 0;
            }
        }

    </style>
</head>

<body>
    <div id="app">
        <div class="content">
            <img class="heydog" src="static/img/heydog.png" />
            <div class="status">
                <h1>404</h1>
                <p>抱歉，你访问的页面不存在</p>
                <a href="/">返回首页</a>
            </div>
        </div>
    </div>
</body>

<script>
    window[ 'page' ] = JSON.parse('{{page}}'.replace(/&quot;/g,'"'));
    if(window[ 'page'] && window[ 'page' ].title && window[ 'page' ].title!==''){
        document.title = window[ 'page' ].title;
    }
    if(window[ 'page' ] && window[ 'page' ].icon && window[ 'page' ].icon!==''){
        document.querySelector('[rel=icon]').setAttribute('href', window[ 'page' ].icon);
    }
</script>

</html>
